package org.jackysoft.entity;
import javax.persistence.Entity;
import javax.persistence.Id;

import org.jackysoft.annotations.Form;
import org.jackysoft.annotations.FormEncType;
import org.jackysoft.entity.AbstractNoIdEntity;
import org.springframework.data.annotation.PersistenceConstructor;

@Entity
@org.hibernate.annotations.Entity(dynamicUpdate=true,dynamicInsert=true) 
@Form(id="NewsConfigForm",label="NewsConfig 编辑",enctype=FormEncType.NORMAL)
public class NewsConfig extends AbstractNoIdEntity {
   
    /**
	 * 
	 */
	private static final long serialVersionUID = 1274520579448200551L;

	
	private String cataSid;	
	private String defaultFirstSid;	
	
	
	@PersistenceConstructor
	public NewsConfig(){
		
	}


    @Id
	public String getCataSid() {
		return cataSid;
	}



	public void setCataSid(String cataSid) {
		this.cataSid = cataSid;
	}


	public String getDefaultFirstSid() {
		return defaultFirstSid;
	}



	public void setDefaultFirstSid(String defaultFirstSid) {
		this.defaultFirstSid = defaultFirstSid;
	}  


}